package com.wtzz.police.base.model.log;

import com.wtzz.police.base.entity.Department;
import lombok.Getter;
import lombok.Setter;
import org.springframework.context.annotation.Lazy;

import javax.persistence.Lob;
import javax.persistence.ManyToOne;
import java.util.Date;

/**
 * web请求日志
 * @author Administrator
 *
 */
@Setter
@Getter
public class WebRequestLog {

	private Date recordTime;
	
	private String action;
	
	private String ip;
	
	@ManyToOne
	private Department department;
	
	private String account;
	
	private String uri;
	@Lob
	@Lazy
	private String params;
	
	@Lob
	@Lazy
	private String response;
	
}